﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


using ClassDAL;
using ClassModel;

namespace ClassBLL
{
    /// <summary>
    /// 老师和课程的对应关系
    /// </summary>
    public class t_class_teacher_course_BLL
    {
        /// <summary>
        /// 插入老师和课程的关系
        /// <param name="dicts">关系字典</param>
        /// <param name="fileid">对应哪一个excel表格</param>
        /// </summary>
        public static int InsertRelationships(Dictionary<string, List<string>> dicts, int fileid)
        {
            if (dicts == null) throw new ArgumentException("dicts is null");

            return t_class_tearcher_course_DAL.InsertRelationships(dicts, fileid);
        }
    }
}
